<?php


namespace app\admin\validate;


use think\Validate;

class ConfigGroup extends Validate
{
    protected $rule = [
        'name' => 'require',
        'title'  =>  'require'
    ];



    protected $field = [
        'name'      => '分组名',
        'title'      => '分组标题'
    ];

    protected $message = [

    ];

    protected $scene = [
        'add' => ['name','title'],
        'edit' => ['name','title']
    ];
}